package com.hubiao.basics.pattern.proxy.cglib;

/**
 * Description
 *
 * @author hubiao
 * @since 2021-01-25 23:01
 */
public class Client {

    public static void main(String[] args) {
        GamePlayer gamePlayer = new GamePlayer( "bin" );
        DynamicProxy dynamicProxy = new DynamicProxy( gamePlayer );
        GamePlayer proxy = (GamePlayer) dynamicProxy.getProxyInstance();
        proxy.login();
        proxy.playLOL();
    }
}
